* {
  margin: 0px;
  padding: 0px;
  box-sizing: border-box;
  list-style: none;
}
.icon {
  width: 1em;
  height: 1em;
  vertical-align: -0.15em;
  fill: currentColor;
  overflow: hidden;
  margin-bottom: 5px;
  text-align: center;
}

#xxx {
  background: #fff;
  display: block;
  position: fixed;
  top: 0;
  left: 0;
}

body {
  margin: 0px;
  overflow: hidden;
}

.tools {
  position: absolute;
  top: 10px;
  left: 10px;
  border: solid 1px #aaa;
  background-color: #eee;
  border-radius: 5px;
  padding-right: 5px;
}

.tools .btn .clear {
  background-color: #e6623c;
}

.tools .btn .save {
  background-color: #5f90b0;
}

.tools .btn .cancel {
  background-color: #ccc;
}
.colors {
  float: left;
  margin: 5px;
  width: 30px;
  padding: 0;
}

.colors > li {
  margin: 10px 0;
  transfrom: all 0.3s;
  width: 24px;
  height: 24px;
  border: solid 2px #aaa;
  opacity: 0.5;
}

.colors > li.black {
  background: black;
}

.colors > li.red {
  background: red;
}

.colors > li.green {
  background: green;
}

.colors > li.blue {
  background: blue;
}

.colors > li.yellow {
  background: yellow;
}

.colors > li.skyblue {
  background: skyblue;
}

.colors > li.pink {
  background: pink;
}

.colors > li.white {
  background: white;
}

.colors > li.active {
  opacity: 1;
  border: solid 2px #000;
}

.sizes {
  float: right;
  margin-top: 14px;
  margin-right: 5ox;
  width: 30px;
  margin-left: 0;
}

.sizes > .wai {
  transfrom: all 0.3s;
  width: 30px;
  height: 30px;
  border: solid 2px #aaa;
  margin-bottom: 9px;
  opacity: 0.5;
}

.sizes .active {
  opacity: 1;
  border: solid 2px #000;
}

.sizes > .wai > div {
  height: 24px;
  background: #000;
  margin: 3px auto;
}

.sizes > .wai .one {
  width: 3px;
}

.sizes > .wai .two {
  width: 6px;
}

.sizes > .wai .three {
  width: 9px;
}

.sizes > .wai .four {
  width: 12px;
}

.sizes > .wai .five {
  width: 15px;
}

.sizes > .wai .six {
  width: 18px;
}

.sizes > .wai .seven {
  width: 21px;
}

.btn {
  clear: both;
  margin-bottom: 5px;
  text-align: center;
  margin-left: 5px;
}

.btn input {
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 0.98em;
  padding: 5px 10px;
}
.sizes {
  margin-right: 5px;
}
